﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="product_allcomments.aspx.cs"
    Inherits="V5_EShop._Template.Default.product_allcomments" %>

<%@ Import Namespace="V5_Common" %>
<%@ Register Src="Controls/getHeader2.ascx" TagName="getHeader2" TagPrefix="mm" %>
<%@ Register Src="Controls/getDismode.ascx" TagName="getDismode" TagPrefix="mm" %>
<%@ Register Src="Controls/getFooter.ascx" TagName="getFooter" TagPrefix="mm" %>
<%@ Register Src="Controls/getUserBrowseProductList.ascx" TagName="getUserBrowseProductList"
    TagPrefix="mm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/<%=TemplatePath %>/css/AllComments.css" rel="stylesheet"
        type="text/css" />
    <link href="/<%=TemplatePath %>/css/init.css" rel="stylesheet" type="text/css" />
    <link href="/<%=TemplatePath %>/css/head.css" rel="stylesheet" type="text/css">
    <meta name="author" content="美工：吕玲" />
    <title><%=product.ProductName %>-查看全部评论</title>
</head>
<body>
    <div id="page">
        <mm:getHeader2 ID="Header1" runat="server" />
        <div class="content">
            <a href="Integral.aspx">
                <img src="/<%=TemplatePath %>/images/AllComments/banner.gif" width="950" height="80"></a>
            <div class="left">
                <div class="Merchandise">
                    <a href="/product-details-<%=product.ID %>.aspx" class="a_01">
                        <img src="<%=product.ProductBigPic %>" width="150" height="205" /></a><a href="/product-details-<%=product.ID %>.aspx"
                            class="gray"><%=product.ProductName %></a><br />
                    <a class="gray_no">市场价：￥<%=product.ProductMarketPrice %></a><span class="red">团购价：￥<%=product.ProductMemberPrice %></span>
                    <input type="button" name="button" id="button" value="" class="button01" />
                    <input type="button" name="button2" id="button2" value="" class="button02" onclick="location.href='/member/Temporary.aspx?productid=<%=product.ID %>'" />
                </div>
                <ul class="ul04">
                    <h2>
                        我浏览过的商品</h2>
                    <mm:getUserBrowseProductList ID="getUserBrowseProductList" runat="server" />
                    <div class="clear">
                    </div>
                </ul>
            </div>
            <form id="form1" runat="server">
            <div class="right">
                <div class="right_top">
                    <strong class="name">产品评论：<%=product.ProductName %></strong> <span class="date">评论时间：<select name="select"
                        id="select">
                        <option>最新评论</option>
                        <option>最早评论</option>
                    </select></span>
                    <input type="button" name="button3" id="button3" value="" class="button03" />
                </div>
                <div class="point">
                    <div class="point_top">
                        综合评价：<img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img
                            src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"></div>
                    <ul class="point_ul">
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"></span><span class="span_02"><img
                                            src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"1","1") %></span></li>
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"></span><span
                                            class="span_02"><img src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"2","1") %></span></li>
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"></span><span
                                            class="span_02"><img src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"3","1") %></span></li>
                    </ul>
                </div>
                <div class="point">
                    <div class="point_top">
                        外观：<img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img
                            src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"></div>
                    <ul class="point_ul">
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"></span><span class="span_02"><img
                                            src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"1","2") %></span></li>
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"></span><span
                                            class="span_02"><img src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"2","2") %></span></li>
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"></span><span
                                            class="span_02"><img src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"3","2") %></span></li>
                    </ul>
                </div>
                <div class="point">
                    <div class="point_top">
                        舒适度：<img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img
                            src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"></div>
                    <ul class="point_ul">
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"></span><span class="span_02"><img
                                            src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"1","3") %></span></li>
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"></span><span
                                            class="span_02"><img src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"2","3") %></span></li>
                        <li><span class="span_01">
                            <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                                width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                    height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"><img
                                        src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"></span><span
                                            class="span_02"><img src="/<%=TemplatePath %>/images/AllComments/bg_jb.gif" width="78" height="8"><%= this.Get_Post(product.ID,"3","3") %></span></li>
                    </ul>
                </div>
                <div class="clear">
                </div>
                <div class="size">
                    <h2>
                        尺码</h2>
                    <span>偏小：<%= this.Get_ShuShi(product.ID,"1") %>%
                        <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif"
                            width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16"
                                height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"><img
                                    src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"></span>
                    <span>合适：<%= this.Get_ShuShi(product.ID,"2") %>%
                        <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                            width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16"
                                height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"><img
                                    src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16"></span>
                    <span>偏大：<%= this.Get_ShuShi(product.ID,"3") %>%
                        <img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif" width="16" height="16" /><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan.gif"
                            width="16" height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16"
                                height="16"><img src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"><img
                                    src="/<%=TemplatePath %>/images/AllComments/huangguan_lan02.gif" width="16" height="16"></span>
                </div>
                
                 <asp:Repeater ID="rpCommentList" runat="server">
                    <ItemTemplate>
                        <div class="pl_txet">
                            <div class="Subject">
                                <h2><%#DataBinder.Eval(Container.DataItem,"CommentName") %></h2>
                                <span>会员：<%#Get_UserInfo(DataBinder.Eval(Container.DataItem, "memberid")).UserName%></span><span>时间：<%#DataBinder.Eval(Container.DataItem,"AddDateTime") %></span></div>
                            <div class="clear">
                            </div>
                            <div class="pl_right"><%#DataBinder.Eval(Container.DataItem,"CommentContent") %></div>
                            <div class="pl_left">
                                <ul>
                                    <li>颜色：灰色</li>
                                    <li>尺码：44</li>
                                    <li>数量：3件</li>
                                </ul>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
                    <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页，每页%PageSize%条"
                        FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页"
                        OnPageChanged="Pager_PageChanged" PageIndexBoxType="DropDownList" PageSize="20"
                        PrevPageText="上一页" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go"
                        TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到">
                    </webdiyer:AspNetPager>
                    <div class="clear">
                    </div>
            </div>
            </form>
        </div>
        <%--网站底部--%>
        <mm:getFooter ID="getFooter1" runat="server" />
    </div>
</body>
</html>
